package com.ymanage.service;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ymanage.dao.CustomMapper;
import com.ymanage.entity.Custom;


@Service("customService")
public class CustomService {
	
	@Autowired
	private CustomMapper customMapper;
	
	public List<Custom> selectAll(Custom custom){
		return customMapper.selectAll(custom);
	}
	
	public void add(Custom custom){
		 customMapper.add(custom);
	}
	
	public void update(Custom custom){
		 customMapper.update(custom);
	}
	
	public void del(Custom custom){
		 customMapper.del(custom);
	}
}
